package com.tedu.spring.boot.demo1.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Author：毕龙
 * Date: 2024/8/27 15:01
 */
@AllArgsConstructor
@Getter

public enum ResponseStatus {
    SUCCESS_OK(10001,"请求成功！"),
    ERROR_FAIL(50000,"请求失败！"),
    ERROR_SERVICE(50001,"业务层请求失败");
    private Integer code;
    @Setter
    private String msg;
}
